// import useTheme from './stores/module/theme'
import { PartialTextComponentProps } from './hooks/useComponentCommon'

// let color = useTheme().themeColor


function getDefaultTextTemplates(color: string):PartialTextComponentProps[] {
  return [
    {
      text: '大标题',
      fontSize: '30px',
      // height: '30px',
      fontWeight: 'bold',
      color: '#00000',
      textAlign: 'center',
      tag: 'h2',
    },
    {
      text: '楷体副标题',
      // height: '20px',
      fontSize: '20px',
      fontFamily: 'KaiTi,STKaiti',
      fontWeight: 'bold',
      fontStyle: 'normal',
      lineHeight: '1',
      textAlign: 'center',
      color: '#00000',
      tag: 'h2',
    },
    {
      text: '正文内容',
      // height: '14px',
      tag: 'p',
    },
    {
      text: '宋体正文内容',
      fontSize: '14px',
      fontFamily: 'SimSun,STSong',
      fontStyle: 'normal',
      lineHeight: '1',
      tag: 'p',
    },
    {
      text: 'Arial style',
      fontSize: '14px',
      fontFamily: 'Arial, sans-serif',
      fontStyle: 'normal',
      lineHeight: '1',
      tag: 'p',
    },
    {
      text: 'Comic Sans',
      fontSize: '14px',
      fontFamily: 'Comic Sans MS',
      fontStyle: 'normal',
      lineHeight: '1',
      tag: 'p',
    },
    {
      text: '链接内容',
      fontSize: '14px',
      fontFamily: '',
      fontWeight: 'normal',
      lineHeight: '1',
      color: color,
      textDecoration: 'underline',
      tag: 'p'
    },
    {
      text: '按钮内容',
      color: "#ffffff",
      backgroundColor: color,
      borderWidth: '1px',
      borderColor: color,
      borderStyle: 'solid',
      borderRadius: '2px',
      paddingLeft: '5px',
      paddingRight: '5px',
      paddingTop: '5px',
      paddingBottom: '5px',
      width: '100px',
      tag: 'a-button'
    }
  ]
}

export default getDefaultTextTemplates